package ${packages.fiscoService};

import org.fisco.bcos.sdk.model.TransactionReceipt;

import java.util.List;

public interface BlockchainService {

    String callContract(String methodName, List<Object> params);

    String queryContract(String methodName, List<Object> params);

    TransactionReceipt getTransactionReceipt(String transactionHash) throws Exception;

    Long getBlockNumber() throws Exception;

    String decodeTransactionReceipt(TransactionReceipt receipt) throws Exception;
}
